package com.softserveinc.parser;

import java.io.InputStream;
import java.text.ParseException;
import java.util.List;

import org.json.JSONException;
import org.xml.sax.SAXException;

import com.softserveinc.model.Movie;
import com.softserveinc.model.MovieDetails;

public interface Parser {

	public List<Movie> parseMovieList(final InputStream responseStream)
			throws JSONException, ParseException, SAXException;

	public MovieDetails parseMovieDetails(final InputStream responseStream)
			throws JSONException, ParseException, SAXException;
}
